package cn.enilu.flash.service.bus;

import cn.enilu.flash.bean.entity.bus.RoomsAppointment;
import cn.enilu.flash.dao.bus.RoomsAppointmentRepository;
import cn.enilu.flash.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoomsAppointmentService extends BaseService<RoomsAppointment, Long, RoomsAppointmentRepository> {

    @Autowired
    private RoomsAppointmentRepository roomsAppointmentRepository;


    public void insertAll(List<RoomsAppointment> appointmentList) {
        roomsAppointmentRepository.saveAll(appointmentList);
    }


}
